package dbkey

import "time"

const DateTimeFormat3 = "2006-01-02 15:04:05"
const DateTimeCNFormat = "2006-01-02 15:04:05 CST"
const DateTimeCNFormat2 = "2006-01-02 15:04:05 +0800"
const DateTimeIndiaFormat = "02-01-2006 15:04:05 IST"
const DateTimeFormat2 = "2006-01-02 15:04"
const DateFormat = "2006-01-02"
const DateFormat2 = "20060102"

const DateTimeZone = "Asia/Shanghai"

func ParseTimeString(s string) *time.Time {
	t, _ := time.ParseInLocation(DateTimeCNFormat, s, time.Local)
	return &t
}
